package com.credithc.signature.common.ro.core;

import lombok.Data;

/**
 * 描述：签章核心服务请求实体<br/>
 * 作者：sunyang
 * 创建：2019/5/28 14:16
 * 版本：v1.0.0<br/>
 */
@Data
public class CoreRequet {

    private String requestSn;

    private String templateNo;

    private String channelNo;

    private Boolean needSign;

    private String callbackUrl;

    private String jsonBody;

    private Boolean areNewSignatrue;

    private Integer retryTime = 3;

    private Integer sealType = 0;

    public CoreRequet() {
    }

    public CoreRequet(String requestSn, String templateNo, String channelNo, Boolean needSign, String callbackUrl, String jsonBody, Boolean areNewSignatrue) {
        this.requestSn = requestSn;
        this.templateNo = templateNo;
        this.channelNo = channelNo;
        this.needSign = needSign;
        this.callbackUrl = callbackUrl;
        this.jsonBody = jsonBody;
        this.areNewSignatrue = areNewSignatrue;
    }
}
